<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        article {
            height: 500px;
            border: dashed 10px black;
            overflow: auto;
            background-image: url(houdunren.jpg);
            background-repeat: no-repeat;
            /* background-position: -80px 50%; */
            background-size: contain;
        }

        /* div {
            height: 3000px;
            background-image: url(bg.png);
            background-repeat: no-repeat;
            background-attachment: scroll;
        } */
    </style>
</head>

<body>
    <article>
        <div>houdunren.com</div>
    </article>
</body>

</html>